<!--
* @description 可视化大屏Index
* @fileName index.vue
* @author zero_fsc
* @date 2020/06/28 10:08:16
!-->
<template>
    <div class="yl-container">
      <div class="yl-main">
        <div class="yl-card-top">
          <el-avatar size="large" :src="userImg" />
          <p>
            <span>欢迎! 登录Vue-Element-Zero-Target</span>
            <br>
            <span>您当前登录时间为：{{ getCurrentTime }}</span>
          </p>
        </div>
        <div class="yl-chart-box">
          <dv-full-screen-container>
            <dv-border-box-11 title="日销售量">
              <sell-chart />
            </dv-border-box-11>
          </dv-full-screen-container>
          <!-- <div class="yl-chart-item">
          </div>
          <div class="yl-chart-item">
            <sell-chart />
          </div>
          <div class="yl-chart-item">
            <see-chart />
          </div>
          <div class="yl-chart-item">
            <money-chart />
          </div> -->
        </div>
      </div>
    </div>
</template>

<script>
import { timeStamp } from '@/utils'
import moneyChart from '../component/dMoney'
import seeChart from '../component/dSee'
import sellChart from '../component/dSell'
import usersChart from '../component/dUsers'
export default {
  components: {
    moneyChart,
    seeChart,
    sellChart,
    usersChart
  },

  data () {
    return {
      userImg: 'https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png'
    }
  },

  computed: {
    getCurrentTime () {
      return timeStamp()
    }
  },

  methods: {}
}

</script>
<style lang='scss' scoped>
  .yl-chart-box {
    width: 800px;
    height: 400px;
    #dv-full-screen-container {
      position: relative;
      width: 100% !important;
      height: 100% !important;
    }
  }
</style>
